if (args == null) {
ret = (Boolean)(inv.invokeFunction(function));
} else {
ret = (Boolean)(inv.invokeFunction(function, args));
}
} catch (Exception e) {
if (args == null) {
ret = inv.invokeFunction(function);
} else {
ret = inv.invokeFunction(function, args);
}
} catch (Exception e) {